﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="AppearanceCheckAdd.aspx.cs" Inherits="ActiveProductTrace_ManageActiveProduct_ManageAppearanceCheck_AppearanceCheckAdd"
    Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <script type="text/javascript" src="../../../js/JudgeInput.js"></script>

    <div style="text-align: center;">
        <br />
        <br />
        <br />
        <br />
        <br />
        <table style="width: 60%; border: solid 1px black; margin: 0 auto;">
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    请扫描成品序列号：
                </td>
                <td>
                    <asp:TextBox ID="TextBox1" runat="server" TabIndex="1"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
                        ErrorMessage="*" ValidationGroup="VGroup1"></asp:RequiredFieldValidator>
                </td>
                <td rowspan="2">
                    &nbsp;
                    <asp:Button ID="Button1" runat="server" Text="提  交" ValidationGroup="VGroup1" OnClick="Button1_Click"
                        TabIndex="2" />
                </td>
            </tr>
            <tr>
                <td>
                    请选择检验的结果：
                </td>
                <td>
                    <asp:DropDownList ID="DropDownList1" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
        </table>
        <br />
        <br />
        <div style="text-align: center;">
            <br />
            <table style="width: 60%; border: solid 1px black; margin: 0 auto;">
                <tr>
                    <td>
                        查询成品序列号是否已经做外观检验记录：
                    </td>
                    <td>
                        <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBox2"
                            ErrorMessage="*" ValidationGroup="VGroup2"></asp:RequiredFieldValidator>
                    </td>
                    <td>
                        <asp:Button ID="Button2" runat="server" Text="查 询" ValidationGroup="VGroup2" OnClick="Button2_Click" />
                    </td>
                </tr>
                <tr>
                    <td colspan="3">
                        <asp:GridView ID="GridView1" runat="server" BackColor="White" Width="100%" BorderColor="White"
                            BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1" GridLines="None"
                            AutoGenerateColumns="False">
                            <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
                            <Columns>
                                <asp:BoundField DataField="PackageProductSN" HeaderText="成品序列号" />
                                <asp:BoundField DataField="RecordTime" HeaderText="记录时间" />
                                <asp:BoundField DataField="UserID" HeaderText="操作员" />
                                <asp:BoundField DataField="FailureName" HeaderText="检验结果" />
                            </Columns>
                            <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
                            <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
                            <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
                            <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
                        </asp:GridView>
                        <br />
                        <br />
                    </td>
                </tr>
            </table>
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
        </div>
        <br />
    </div>
</asp:Content>
